@import "../../assets/styles/variables";

.messages-items {
  display: flex;
  width: 100%;
  height: calc(100vh - 193px);
  flex-direction: column;
  align-items: center;
  justify-content: center;

  &--empty {
    height: 100vh;
  }

  &--noData {
    padding-top: 15px;
    width: 200px;
    height: 250px;
    background-image: url("../../assets/img/empty.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 80%;
  }

  &--openDialog {
    padding-top: 15px;
    width: 200px;
    height: 250px;
    background-image: url("../../assets/img/openDialog.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  &-title {
    font-size: 15px;
    font-weight: 300;
    opacity: 0.7;
  }
}

.messenger__dialog-messages-container {
  height: 100%;
  overflow: hidden;
  overflow-y: initial;
  padding: 20px 20px 0 20px;
  width: calc(100% - 40px);
}